package com.example.haoyundaoyonghu.base;

public  enum ServiceMethod {
    /*项目后端接口
     *
     * */
    API_NAME("http://192.168.2.252:8080/", "后台服务器地址", 1),
    SECURITY_CODE("auth/captcha/", "发送验证码", 2),


    ;

    /**
     * 接口地址
     */
    private String interfaceName;
    /**
     * 接口名字
     */
    private String interfaceWord;
    /**
     * 后台服务器接口
     */
    private int interfaceID;
    private static  final String API= "http://192.168.2.252:8080/";

   public static String ServiceMethod(String interfaceName){
        return API+interfaceName;
    }
    ServiceMethod(String interfaceName, String interfaceWord, int interfaceID) {
        this.interfaceName = interfaceName;
        this.interfaceWord = interfaceWord;
        this.interfaceID = interfaceID;
    }
    public String getInterfaceName() {
        return interfaceName;
    }
    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }
    public String getInterfaceWord() {
        return interfaceWord;
    }

    public void setInterfaceWord(String interfaceWord) {
        this.interfaceWord = interfaceWord;
    }

    public int getInterfaceID() {
        return interfaceID;
    }

    public void setInterfaceID(int interfaceID) {
        this.interfaceID = interfaceID;
    }

    public void setInterfaceWord() {

    }
}
